<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
	<script src="javascripts/jquery-1.10.1.min.js"></script>
	<script src="javascripts/main.js" charset="gbk"></script>
	<script type="text/javascript">
	$(function(){
		//var url = window.location.href;
		//url = url+"index.html";
		//alert(url);
		// 新增判断用户是否登陆 是否有临时缓存
		var userInfo = getLocalUserInfo();
		//console.log('userInfo = '+ JSON.stringify(userInfo));

		var userInfoTmp = getLocalUserInfoTmp();
		//console.log('userInfoTmp = '+ JSON.stringify(userInfoTmp));
		if(userInfo == null && userInfoTmp == null){  // 没登陆 或者 没临时缓存
			url = 'hall.html';
		}else{
			if(userInfoTmp != null || userInfo != null){
				url="index.html";
			}else{
				url = 'hall.html';		
			}
		}
		window.location.href = url;
	});
	
	</script>
</head>
<body>
<!-- <p style="text-align: center;">Loading...</p> -->
</body>
</html>